<%@page import="com.shsh.safemanage.util.Constants"%>
<%@page import="com.shsh.safemanage.model.WeakReport"%>
<%@page import="com.shsh.safemanage.action.ActionCreator"%>
<%@page import="com.shsh.safemanage.action.WeakAction"%>
<%@page language="java" pageEncoding="UTF-8"%>
<%
WeakAction weakAction = ActionCreator.createWeakAction();
boolean isSuccess = weakAction.prepareWeakReport(request);

WeakReport theWeakReport = (WeakReport)session.getAttribute(Constants.SESSION_WEAK_REPORT);

String displayPage = null;
if(theWeakReport!=null && theWeakReport.getReportType()!=Constants.WEAK_REPORT_TYPE_DANWEI) {
	displayPage = "/weak/write_report_list_notdanwei_section.jsp";
} else {
	displayPage = "/weak/write_report_list_danwei_section.jsp";
}

%>
<jsp:forward page="<%=displayPage %>"></jsp:forward>
